﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/MasterPage/AdminSubMasterPage.master" AutoEventWireup="true" CodeFile="FinLend001a.aspx.cs" Inherits="Admin_FinLend_FinLend001a" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <script type="text/javascript" src="/Scripts/Controls/DatePicker/WdatePicker.js""></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="Service_table_tow">
        <tr>
            <td colspan="4" class="xin_y1 caption" align="center">
                新增凭证借阅
            </td>
        </tr>
        <tr>
            <td class="xin_y2">
                借阅类型:
            </td>
            <td>
                <yncWebDDL:DrpCodeTable ID="drpLendType" runat="server" Category="LendType" Required="true" ShowSelectedItem="true" AutoPostBack="true"  OnSelectedIndexChanged="drpLendType_OnSelectedIndexChanged">
                </yncWebDDL:DrpCodeTable>
            </td>
        </tr>
        <tr>
            <td class="xin_y2">
                存储机构:
            </td>
            <td>
                <yncWebDDL:DrpThirdUnit ID="drpThirdUnit" runat="server"  ShowSelectedItem="true">
                </yncWebDDL:DrpThirdUnit>
            </td>
        </tr>
        <tr>
            <td class="xin_y2">
                借阅人:
            </td>
            <td>
                <yncWeb:yncTextBox ID="txtLoanee" runat="server" Required="true"  ></yncWeb:yncTextBox>
                <%--<yncWebDDL:DrpUsers ID="drpLoanee" runat="server" Required="true" ShowSelectedItem="true">
                </yncWebDDL:DrpUsers>--%>
            </td>     
        </tr>
         <tr>
            <td class="xin_y2">
               借阅人邮箱:
            </td>
            <td>
                <yncWeb:yncTextBox ID="txtLoaneeEmail" runat="server" Required="true"  ></yncWeb:yncTextBox>
            </td>
        </tr>
        <tr>
            <td class="xin_y2">
                借阅人电话:
            </td>
            <td>
                <yncWeb:yncTextBox ID="txtLoaneePhone" runat="server" Required="true"  ></yncWeb:yncTextBox>
            </td>
        </tr>
        <tr>
            <td class="xin_y2">
                借阅人主管:
            </td>
            <td>
                <%--<yncWebDDL:DrpUsers ID="drpLeader" runat="server" Required="true" ShowSelectedItem="true">
                </yncWebDDL:DrpUsers>--%>
                <yncWeb:yncTextBox ID="txtLeader" runat="server" Required="true"  ></yncWeb:yncTextBox>
            </td>     
        </tr>
        <tr>
            <td class="xin_y2">
               借阅人主管邮箱:
            </td>
            <td>
                <yncWeb:yncTextBox ID="txtLeaderEmail" runat="server" Required="true"  ></yncWeb:yncTextBox>
            </td>
        </tr>
        <tr>
            <td class="xin_y2">
               审批人:
            </td>
            <td>
                <yncWebDDL:DrpUsersId ID="drpApprover" runat="server" Required="true" ShowSelectedItem="true">
                </yncWebDDL:DrpUsersId>
            </td>
        </tr>
        <tr runat="server" id="trLendDate" visible="false">
            <td class="xin_y2">
                申请借阅日期
            </td>
            <td>
                <input class="Wdate textBox" style="width: 180px;" runat="server" readonly="readonly"  Required="true"
                        type="text" id="txtLendDate" clientidmode="Static" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'txtLendDate\')||$dp.$DV(\'9998-12-31\')}'})" />
            </td>
        </tr>
        <tr runat="server" id="trReturn" visible="false">
            <td class="xin_y2">
                预计归还日期:
            </td>
            <td>
              <input class="Wdate textBox" style="width: 180px;" runat="server" readonly="readonly"  Required="true"
                        type="text" id="txtReturnDate" clientidmode="Static" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'txtReturnDate\')||$dp.$DV(\'9998-12-31\')}'})" />
            </td>           
        </tr>
        
        <tr runat="server" id="trApresent" visible="false">
            <td class="xin_y2">
                现场查看日期:
            </td>
            <td>
              <input class="Wdate textBox" style="width: 180px;" runat="server" readonly="readonly"  data-val="true" data-val-required="必填字段"
                        type="text" id="txtpresentStartTime" clientidmode="Static" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'txtpresentStartTime\')||$dp.$DV(\'9998-12-31\')}',dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
                至
                <input class="Wdate textBox" style="width: 180px;" runat="server" readonly="readonly"   data-val="true" data-val-required="必填字段"
                        type="text" id="txtpresentEndTime" clientidmode="Static" onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'txtpresentEndTime\')||$dp.$DV(\'9998-12-31\')}',dateFmt:'yyyy-MM-dd HH:mm:ss'})" />
            </td>           
        </tr>


        <tr>
            <td class="xin_y2">
                备注:
            </td>
            <td >
                <yncWeb:yncTextBox ID="txtComments" runat="server" MaxValueLength="500" TextMode="MultiLine"
                    Width="600" Height="60" placeholder="不超过500字"></yncWeb:yncTextBox>
            </td>
        </tr>
        <tr>
            <td colspan="2" align="right">
                <asp:Button ID="btnSave" runat="server" Text="确认" OnClick="btnSave_Click" />
                <input type="button" value="关闭" onclick="javascript: window.top.CloseDialog(false);" />
            </td>
        </tr>
        <tr>
            <td colspan="2" align="center" height="24px">
                <asp:Label ID="lbMessage" runat="server" ForeColor="Red" Text="&nbsp;" Font-Bold="true" />
            </td>
        </tr>
    </table>
</asp:Content>

